package com.it.zuoning.sbh.sbhservice.controller;




import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 主控制Controller
 * 
 * 
 * 
 * @author zuoning
 *
 */
@RequestMapping("/rest/main")
@RestController
public class MainController {
	@RequestMapping(value = "/hellow", method = RequestMethod.GET)
	public String hello(HttpServletRequest request) {
		//TODO
		return "{'name':'zuoning','doing':'Say hellow!'}";
	}
}
